import App from './App'
//全局引入user配置信息
import User from '@/common/user.js'
Vue.prototype.$user=User
//全局引入api接口
import api from '@/common/api.js'
Vue.prototype.$api=api
//引入登入接口
import login from '@/common/login.js'
Vue.prototype.login=login
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'

Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
  ...App,
	User,
	api
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif